<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看推广数据-Manager</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/plupload/plupload.full.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-ui/jquery-ui.js"></script>

<script src="${pageContext.request.contextPath}/js/bootstrap/bootstrap.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/table/bootstrap-table.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/table/locale/bootstrap-table-zh-CN.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/table/plugins/tableExport.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/table/plugins/table-export.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/table/plugins/jquery.base64.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/layui/layui.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/layui/lay/modules/laydate.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/ui/layui/lay/modules/form.js" type="text/javascript"></script>
  <script src="${pageContext.request.contextPath}/ui/layui/lay/modules/element.js" type="text/javascript"></script>
  
 <link rel="stylesheet" href="${pageContext.request.contextPath}/ui/layui/css/modules/laydate/laydate.css" >
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/jquery-css/jquery-ui.css">
 <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap-css/bootstrap.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/ui/table/bootstrap-table.css">
 <link rel="stylesheet" href="${pageContext.request.contextPath}/ui/layui/css/layui.css" >
 <link rel="stylesheet" href="${pageContext.request.contextPath}/ui/layui/css/global.css" >
 <link rel="stylesheet" href="${pageContext.request.contextPath}/css/jquery-css/jquery-ui.css">

 <style>
  .container{
   width:85%;
  }
  
  </style>

</head>
<body>
<%@include file="/webpage/frame/top.jsp" %>
<div class="container">
	<table id="industryStandardTable"  data-show-refresh="true"
              data-search="true"
              data-click-to-select="true"
              data-show-export="true"
             
              data-pagination="true"
		   	  data-toolbar=".toolbar"		   
              >
             <!-- data-show-columns="true" -->          
           <thead>
           <tr>
            <th data-field="industry">行业</th>
            <th data-field="avgClickNum">平均点击数</th>
            <th data-field="avgConsultNum">平均咨询量</th>
            <th data-field="avgConsume">平均消费</th>
            <th data-field="avgConsumeConsultNumRatio">消费转化比</th>
            <th data-field="avgClickNumConsultNumRatio">咨询点击转化</th>
           </tr>
           </thead>
		
	</table>
</div>
<script type="text/javascript">
//初始化table 
function initTable() {
    var API_URL = '${pageContext.request.contextPath}/industryStandardController.do?getIndustryStandard';     	
  	 $table = $('#industryStandardTable').bootstrapTable(
   		{
   			url: API_URL,
   			pageSize:25,
   			pageList : [15, 25, 50, 100, 500],
   			//exportDataType: "all",//导出类型  
   			
   		}   		    
   	);     	             
        	
}

initTable(); 
</script>
<%@include file="/webpage/frame/bottom.jsp" %>
</body>
</html>